package com.netease.nieweb.emarket.lottery;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
    启动类
 * 使用说明：生产者生产东西
 *
 * @author huangxiangxiang
 * @version 2.0.0
 * @createTime 2019年09月10日 13:22:00
 */

@SpringBootApplication(scanBasePackages = {"com.netease.nieweb.emarket"})
@MapperScan("com.netease.nieweb.emarket.mapper")
@EnableDiscoveryClient
public class LotteryApp {

    public static void main(String[] args) {
        SpringApplication.run(LotteryApp.class, args);
    }
}
